package com.wufeng.spring01_ioc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UseFunctionService {
    // 注解注入  FunctionService
    @Autowired
    private FunctionService functionService;

    public void sayHello() {
        functionService.sayHello();
    }
}
